//package com.tiger.cloud.controller.test;
//
//import java.util.Date;
//
//import javax.servlet.http.HttpServletRequest;
//
//import org.apache.log4j.Logger;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Controller;
//import org.springframework.web.bind.annotation.RequestBody;
//import org.springframework.web.bind.annotation.RequestMapping;
//import org.springframework.web.bind.annotation.RequestMethod;
//import org.springframework.web.bind.annotation.ResponseBody;
//
//import com.tiger.cloud.common.mybatis.BaseController;
//import com.tiger.cloud.filter.CurrentUserId;
//import com.tiger.cloud.model.test.MyTest;
//import com.tiger.cloud.service.test.IMyTestService;
//import com.tiger.cloud.util.DateTimeUtil;
//import com.tiger.cloud.util.Response;
//import com.tiger.cloud.util.ResponseUtil;
//
///**
// * test
// */
//@Controller
//@RequestMapping(value = "myTest")
//public class MyTestController extends BaseController {
//
//	@Autowired
//	private IMyTestService myTestService;
//	
//	@RequestMapping(value = "find")
//	@ResponseBody
//	public Response find(@CurrentUserId Long userId){
//		System.err.println(DateTimeUtil.formatDateTimetoString(new Date(1505980397000l)));
//		return ResponseUtil.ok(myTestService.find(new MyTest()));
//	}
//	
//	
//	@RequestMapping(value = "update")
//	@ResponseBody
//	public Response update(@CurrentUserId Long userId,HttpServletRequest request,@RequestBody  MyTest myTest){
//		myTestService.update(myTest);
//		return ResponseUtil.ok();
//	}
//	
//	@RequestMapping(value = "add")
//	@ResponseBody
//	public Response add(@CurrentUserId Long userId,HttpServletRequest request){
//		myTestService.insert(new MyTest());
//		return ResponseUtil.ok();
//	}
// 
//
//}